package ltu.m7011e.server.response.login;


import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;



	public class LoginInfo {
		
		@XmlAttribute(name="loggedIn")
		private boolean loggedIn;

		@XmlAttribute(name="loginUrl")
		 private String loginUrl;

		@XmlAttribute(name="logoutUrl")
		private String logoutUrl;
		
		@XmlAttribute(name="emailAddress")
		private String emailAddress;
		
		@XmlAttribute(name="nickname")
		private String nickname;
		
		/**
		 * Default Constructor
		 */
		public LoginInfo(){}

		/**
		 * @param id
		 * @param theLink
		 * @param description
		 * @param category
		 * @param date
		 * @param likes
		 * @param city
		 */
		public LoginInfo(String nickname,String emailAddress,String logoutUrl,String loginUrl, boolean loggedIn) {
			this.loggedIn = loggedIn;
			this.loginUrl = loginUrl;
			this.logoutUrl = logoutUrl;
			this.emailAddress = emailAddress;
			this.nickname = nickname;
		
		}


	}


